using System.Reflection;
using Microsoft.Extensions.DependencyInjection;
using ZhaoXi.MSACommerce.UserCases.Common;

namespace Zhaoxi.MSACommerce.ProductService.UseCases;

public static class DependencyInjection
{
    public static IServiceCollection AddUseCase(this IServiceCollection services)
    {
        services.AddUserCaseCommon(Assembly.GetExecutingAssembly());

        return services;
    }
}